@import './variable.scss';
@import './layout.scss';
@import './transition.scss';

html {
  height: 100%;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
ol,
ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  &:hover {
    text-decoration: none;
    color: #409eff;
  }
}
body {
  height: 100%;
  font: 12px/1.5 Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, SimSun, sans-serif;
  margin: 0;
  padding: 0;
}

#app {
  height: 100%;
}

.header i[class^='el-icon'] {
  color: $white;
}
#app .clearFixed:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
.fontBold {
  font-weight: bold;
}
.pTitle {
  font-size: 14px;
  color: #666;
  padding: 10px 0;
  code {
    background-color: #f9fafc;
    padding: 0 4px;
    border: 1px solid #eaeefb;
    border-radius: 4px;
  }
  span {
    font-size: 12px;
  }
  i {
    margin-right: 5px;
    color: #ffc107;
    font-size: 18px;
  }
}
.el-notification {
  .el-icon-s-opportunity {
    color: #ffc107;
    font-size: 22px;
    margin-top: 2px;
  }
}


/** ----------------------------------
 * 辅助类
 -------------------------------------- */
/* margin */
.m-0 {
  margin: 0px!important;
}
.m-t-0 {
  margin-top: 0px!important;
}
.m-b-0 {
  margin-bottom: 0px!important;
}
.m-5 {
  margin: 5px!important;
}
.m-tb-5 {
  margin: 5px 0px!important;
}
.m-lr-5 {
  margin: 0px 5px!important;
}
.m-t-5 {
  margin-top: 5px!important;
}
.m-r-5 {
  margin-right: 5px!important;
}
.m-b-5 {
  margin-bottom: 5px!important;
}
.m-l-5 {
  margin-left: 5px!important;
}
.m-10 {
  margin: 10px!important;
}
.m-tb-10 {
  margin: 10px 0px!important;
}
.m-lr-10 {
  margin: 0px 10px!important;
}
.m-t-10 {
  margin-top: 10px!important;
}
.m-r-10 {
  margin-right: 10px!important;
}
.m-b-10 {
  margin-bottom: 10px!important;
}
.m-l-10 {
  margin-left: 10px!important;
}
.m-15 {
  margin: 15px!important;
}
.m-tb-15 {
  margin: 15px 0px!important;
}
.m-lr-15 {
  margin: 0px 15px!important;
}
.m-t-15 {
  margin-top: 15px!important;
}
.m-r-15 {
  margin-right: 15px!important;
}
.m-b-15 {
  margin-bottom: 15px!important;
}
.m-l-15 {
  margin-left: 15px!important;
}
.m-30 {
  margin: 30px!important;
}
.m-tb-30 {
  margin: 30px 0px!important;
}
.m-lr-30 {
  margin: 0px 30px!important;
}
.m-t-30 {
  margin-top: 30px!important;
}
.m-r-30 {
  margin-right: 30px!important;
}
.m-b-30 {
  margin-bottom: 30px!important;
}
.m-l-30 {
  margin-left: 30px!important;
}

/* padding */
.p-0 {
  padding: 0px!important;
}
.p-t-0 {
  padding-top: 0px!important;
}
.p-b-0 {
  padding-bottom: 0px!important;
}
.p-10 {
  padding: 10px!important;
}
.p-tb-10 {
  padding: 10px 0px!important;
}
.p-lr-10 {
  padding: 0px 10px!important;
}
.p-t-10 {
  padding-top: 10px!important;
}
.p-r-10 {
  padding-right: 10px!important;
}
.p-b-10 {
  padding-bottom: 10px!important;
}
.p-l-10 {
  padding-left: 10px!important;
}
.p-15 {
  padding: 15px!important;
}
.p-tb-15 {
  padding: 15px 0px!important;
}
.p-lr-15 {
  padding: 0px 15px!important;
}
.p-t-15 {
  padding-top: 15px!important;
}
.p-r-15 {
  padding-right: 15px!important;
}
.p-b-15 {
  padding-bottom: 15px!important;
}
.p-l-15 {
  padding-left: 15px!important;
}
.p-l-20 {
  padding-left: 20px!important;
}
.p-l-40 {
  padding-left: 40px!important;
}
/* 字体大小 */
.fa-1-5x {
  font-size: 1.5em;
}
.fa-2x {
  font-size: 2em;
}
.fa-3x {
  font-size: 3em;
}
.fa-4x {
  font-size: 4em;
}
.fa-5x {
  font-size: 5em;
}
.fa-6x {
  font-size: 6em;
}
.fa-7x {
  font-size: 7em;
}
.fa-8x {
  font-size: 8em;
}
.fa-9x {
  font-size: 9em;
}
.fa-10x {
  font-size: 10em;
}
/* 宽度 */
.w-5 {
  width: 5%;
}
.w-10 {
  width: 10%;
}
.w-15 {
  width: 15%;
}
.w-20 {
  width: 20%;
}
.w-25 {
  width: 25%;
}
.w-30 {
  width: 30%;
}
.w-35 {
  width: 35%;
}
.w-40 {
  width: 40%;
}
.w-45 {
  width: 45%;
}
.w-50 {
  width: 50%;
}
.w-55 {
  width: 55%;
}
.w-60 {
  width: 60%;
}
.w-65 {
  width: 65%;
}
.w-70 {
  width: 70%;
}
.w-75 {
  width: 75%;
}
.w-80 {
  width: 80%;
}
.w-85 {
  width: 85%;
}
.w-90 {
  width: 90%;
}
.w-95 {
  width: 95%;
}
.w-100 {
  width: 100%;
}
/* 边框 */
.no-border-tb {
  border-top: 0px;
  border-bottom: 0px
}
.no-border-lr {
  border-left: 0px;
  border-right: 0px;
}
/* 圆点 */
.badge-dot {
  min-width: inherit;
  padding: 0px;
  width: 8px;
  height: 8px;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}
.badge-dot:empty {
  display: inline-block;
}
.badge-dot-sm {
  width: 6px;
  height: 6px;
}
.badge-dot-lg {
  width: 10px;
  height: 10px;
}
.badge-dot-xl {
  width: 12px;
  height: 12px;
}
/* 其他辅助类 */
.fr {
  float: right;
}
.fl {
  float: left;
}
.d-none {
  display: none !important;
}
.d-inline {
  display: inline !important;
}
.d-inline-block {
  display: inline-block !important;
}
.d-block {
  display: block !important;
}
.d-table {
  display: table !important;
}
.d-table-row {
  display: table-row !important;
}
.d-table-cell {
  display: table-cell !important;
}
.position-static {
  position: static !important;
}
.position-relative {
  position: relative !important;
}
.position-absolute {
  position: absolute !important;
}
.position-fixed {
  position: fixed !important;
}

.text-button-danger {
  color: #F56C6C; /* 设置文字颜色为浅红色 */
}

.text-button-danger:hover {
  color: red; /* 设置鼠标悬停时的文字颜色为红色 */
}

.text-button-warning {
  color: #E6A23C;
}

.text-button-warning:hover {
  color: #D48806;
}

.text-button-success {
  color: #67C23A;
}

.text-button-success:hover {
  color: #3D8B37;
}

.text-button-info {
  color: #909399;
}

.text-button-info:hover {
  color: #666666;
}